package com.zzty.taskapp.entity;

public class User {
	private int id;
	private String name;
	private String password;
	private String email;
	private String phone;
	private String sex;
	private String clazz;
	private String img;
	private String pwdrepaire;
	private String disname;
	private int type;
	
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public User() {
	}

	public User(String name, String password, String email, String phone, String sex, String clazz, String img, String pwdrepaire,String disname) {
		this.name = name;
		this.password = password;
		this.email = email;
		this.phone = phone;
		this.sex = sex;
		this.clazz = clazz;
		this.img=img;
		this.pwdrepaire = pwdrepaire;
		this.disname=disname;
	}
	
	public User(String name, String password, String email, String phone, String sex, String clazz, String img, String disname) {
		this.name = name;
		this.password = password;
		this.email = email;
		this.phone = phone;
		this.sex = sex;
		this.clazz = clazz;
		this.img=img;
		this.disname=disname;
	}
	
	public String getDisname() {
		return disname;
	}

	public void setDisname(String disname) {
		this.disname = disname;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getClasses() {
		return clazz;
	}

	public void setClasses(String classes) {
		this.clazz = classes;
	}

	public String getPwdrepaire() {
		return pwdrepaire;
	}

	public void setPwdrepaire(String pwdrepaire) {
		this.pwdrepaire = pwdrepaire;
	}

	@Override
	public String toString() {

		return  email+"   " + phone+"    "  + sex+"    " + clazz ;
	}
}
